deprecate the entire gdk-pixbuf-marshal.h since it's installed by accident
authorMichael Natterer <mitch@imendio.com>
Fri, 2 May 2008 14:23:12 +0000 (14:23 +0000)
committerMichael Natterer <mitch@src.gnome.org>
Fri, 2 May 2008 14:23:12 +0000 (14:23 +0000)
2008-05-02  Michael Natterer  <mitch@imendio.com>

* Makefile.am (stamp-gdk-pixbuf-marshal.h): deprecate the entire
gdk-pixbuf-marshal.h since it's installed by accident only and
shouldn't be used by anybody.

svn path=/trunk/; revision=20067

gdk-pixbuf/ChangeLog
gdk-pixbuf/Makefile.am

index 250df528ccff231862cc9c3d836957fb0279c7cf..ddbda97e01e6ccbde31638ca82739024813a49db 100644 (file)
@@ -1,3 +1,9 @@
+2008-05-02  Michael Natterer  <mitch@imendio.com>
+
+       * Makefile.am (stamp-gdk-pixbuf-marshal.h): deprecate the entire
+       gdk-pixbuf-marshal.h since it's installed by accident only and
+       shouldn't be used by anybody.
+
 2008-03-21  Tor Lillqvist  <tml@novell.com>
 
        Import the GDI+ gdk-pixbuf loaders for Windows by Dominic
index d90aa43ca7617e60407cc50e2b76012ac43970a3..7421617f9cc7f3eaf18efd59c4ec4be538db03ee 100644 (file)
@@ -624,7 +624,9 @@ gdk-pixbuf-marshal.h: @REBUILD@ stamp-gdk-pixbuf-marshal.h
        @true
 
 stamp-gdk-pixbuf-marshal.h: @REBUILD@ $(srcdir)/gdk-pixbuf-marshal.list
-       $(GLIB_GENMARSHAL) --prefix=_gdk_pixbuf_marshal $(srcdir)/gdk-pixbuf-marshal.list --header >> xgen-gmh \
+       echo "#ifndef GDK_PIXBUF_DISABLE_DEPRECATED" > xgen-gmh \
+       && $(GLIB_GENMARSHAL) --prefix=_gdk_pixbuf_marshal $(srcdir)/gdk-pixbuf-marshal.list --header >> xgen-gmh \
+       && echo "#endif /* GDK_PIXBUF_DISABLE_DEPRECATED */" >> xgen-gmh \
        && (cmp -s xgen-gmh gdk-pixbuf-marshal.h || cp xgen-gmh gdk-pixbuf-marshal.h) \
        && rm -f xgen-gmh xgen-gmh~ \
        && echo timestamp > $(@F)